package fa.wangxing.leaf.Mapper;

import fa.wangxing.leaf.pojo.Cart;
import fa.wangxing.leaf.pojo.Dishes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CartMapper {
    void addtocart(int user_id,int dish_id);
    List<Cart> getcart(int user_id);
    void deletebyId(int cartid);

}
